import request from '@/config/axios'
import type { CourseShoucangData,CourseShoucangDate } from '../course/types'

export const getCourseshoucang = (params: any): Promise<IResponse<CourseShoucangData[]>> => {
  return request.get({ url: 'http://localhost:8081/personnel/selLoginNums', params })
}

export const getDengluQianduanTime = (params: any): Promise<IResponse<CourseShoucangData[]>> => {
  return request.get({ url: 'http://localhost:8081/personnel/getLoginTime', params })
}

export const getDengluHouduanTime = (params: any): Promise<IResponse<CourseShoucangData[]>> => {
  return request.get({ url: 'http://localhost:8081/personnel/getLoginTimes', params })
}



